package com.loong.shop.mapper;

import com.loong.common.mybatis.mapper.Mapper;
import com.loong.shop.model.GoodsBase;
import com.loong.shop.model.dto.GoodsBaseDto;
import com.loong.shop.param.GoodsBaseDtoQueryParam;

import java.util.List;

public interface GoodsBaseMapper extends Mapper<GoodsBase> {

    /**
     * 联合查询商品列表:查询商品基本信息，同时最低、最高价格
     * @param param 查询参数
     * @return 联合查询结果GoodsBaseDto集合
     */
    List<GoodsBaseDto> joinQueryGoodsBaseList(GoodsBaseDtoQueryParam param);
}